def numberOfDaysInAYear(year):
    isLeap = (year % 4 == 0 and year % 100 != 0) or (year % 400 == 0)
    return 366 if isLeap else 365

print(format("年份",">4s"),format("天数",">5s"))
for i in range(2010,2021):
    print(format(i,">6d"),format(numberOfDaysInAYear(i),">6d"))
